package com.ruoyi.shop.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商家对账对象 store_billing
 * 

 * @date 2023-07-24
 */
public class Billing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long billingId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private Long orderId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String shopName;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 结算金额 */
    @Excel(name = "结算金额")
    private BigDecimal amount;

    /** 结算时间段 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结算时间段", width = 30, dateFormat = "yyyy-MM-dd")
    private Date clearingTime;

    public void setBillingId(Long billingId) 
    {
        this.billingId = billingId;
    }

    public Long getBillingId() 
    {
        return billingId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setClearingTime(Date clearingTime) 
    {
        this.clearingTime = clearingTime;
    }

    public Date getClearingTime() 
    {
        return clearingTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("billingId", getBillingId())
            .append("orderId", getOrderId())
            .append("shopName", getShopName())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("amount", getAmount())
            .append("clearingTime", getClearingTime())
            .toString();
    }
}
